package com.haojin.java;

public class ArrayUtilTest {
public static void main(String[] args) {
	Arrayutil util = new Arrayutil();
	int[] arr = new int[]{32,34,32,5,3,54,65,654,-98,0,-53,5};
	int max = util.getMax(arr);
	System.out.println("最大值为：" + max);
	
	int min = util.getMin(arr);
	System.out.println("最小值为：" + min);
	
	int sum = util.getSum(arr);
	System.out.println("总和为：" + sum);
	
	int Avg = util.getAvg(arr);
	System.out.println("平均值为：" + Avg);
	
	
}
}
